﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace JGSoft.U9CRTAPIEX.DTOs.RequestDTOs
{
	/// <summary>
	/// 调入单行
	/// </summary>
	public class TransInLineRData
    {
		/// <summary>
		/// 行号
		/// </summary>

		public int DocLineNo { get; set; }

		/// <summary>
		/// 存储地点Code
		/// </summary>

		[Required]
		public string TransInWh_Code { get; set; }

		/// <summary>
		/// 库管员Code
		/// </summary>

		public string TransInWhMan_Code { get; set; }

		/// <summary>
		/// 货主组织Code
		/// </summary>

		public string TransInOwenrOrg_Code { get; set; }

		/// <summary>
		/// 客户Code
		/// </summary>

		public string TransInCustInfo_Code { get; set; }

		/// <summary>
		/// 供应商Code
		/// </summary>

		public string TransInSuppInfo_Code { get; set; }

		/// <summary>
		/// 部门Code
		/// </summary>

		public string TransInDept_Code { get; set; }

		/// <summary>
		/// 料品
		/// </summary>

		public ItemInfoRData ItemInfo { get; set; }

		/// <summary>
		/// 存储类型
		/// 1、在检 2、不合格  3、报废  4、可用 5、冻结  6、退回  7、待返工  0、待检
		/// </summary>

		public int StorageType { get; set; }

		/// <summary>
		/// 收货位置
		/// </summary>

		public string TransInSite_Code { get; set; }

		/// <summary>
		/// 批号

		public string LotInfo_Code { get; set; }

		/// <summary>
		/// 调入数量
		/// </summary>

		[Required]
		public decimal StoreUOMQty { get; set; }

		/// <summary>
		/// 成本数量
		/// </summary>

		public decimal CostUOMQty { get; set; }

		/// <summary>
		/// 币种
		/// </summary>

		public string CostCurrency_Code { get; set; }

		/// <summary>
		/// 单价
		/// </summary>

		public decimal CostPrice { get; set; }

		/// <summary>
		/// 成本
		/// </summary>

		public decimal CostMoney { get; set; }

		/// <summary>
		/// 项目Code
		/// </summary>

		public string Project_Code { get; set; }

		/// <summary>
		/// 任务Code
		/// </summary>

		public string Task_Code { get; set; }

		/// <summary>
		/// 业务员Code
		/// </summary>

		public string SalesPsn_Code { get; set; }

		/// <summary>
		/// 扩展字段
		/// </summary>

		public DescFlexFieldRData DescFlexField { get; set; }

		/// <summary>
		/// 厂牌Code
		/// </summary>

		public string ManufacturerInfo_Code { get; set; }

		/// <summary>
		/// 调入库存单位 Code
		/// </summary>

		public string StoreUOM_Code { get; set; }

		/// <summary>
		/// 库存单位副单位
		/// </summary>

		public string StoreBaseUOM_Code { get; set; }

		/// <summary>
		/// 库存-基准
		/// </summary>

		public decimal SUTOSBURate { get; set; }

		/// <summary>
		/// 备注
		/// </summary>

		public string Meno { get; set; }

		/// <summary>
		/// 成本单位Code
		/// </summary>

		public string CostUOM_Code { get; set; }

		/// <summary>
		///  库位Code
		///  </summary>
		///  <value></value>

		public string TransInBinCode { get; set; }

		/// <summary>
		/// 调入单子行
		/// </summary>

		public List<TransInSubLineRData> TransInSubLines { get; set; }

		/// <summary>
		/// 零成本
		/// </summary>

		public bool ZeroCost { get; set; }

		/// <summary>
		/// 供应商位置
		/// </summary>

		public string TransInSupplierSite_Code { get; set; }

		/// <summary>
		/// 库存-成本
		/// </summary>

		public decimal SUToCURate { get; set; }

		/// <summary>
		/// 番号Code
		/// </summary>

		public string Seiban_Code { get; set; }

		/// <summary>
		/// 操作类型
		/// </summary>

		public int OperationType { get; set; }

		/// <summary>
		/// VMI标记
		/// </summary>
		/// <value>System.Boolean</value>

		public bool IsVMI { get; set; }

		/// <summary>
		/// 序列号
		/// </summary>
		/// <value></value>

		public List<string> SNList { get; set; }

		/// <summary>
		/// 属性
		/// </summary>
		/// <value>System.String</value>

		public string SrcID { get; set; }
	}
}
